package zuoye5;

public class Student {
	private String number;
	private String name;
	private Sex sex;
	private String school;
	private String IDnumber;
	private String EnrolmentTime;
	private String GraduationTime;

	public Student(String number, String name, Sex sex, String school,
			String iDnumber, String enrolmentTime, String graduationTime) {
		super();
		this.number = number;
		this.name = name;
		this.sex = sex;
		this.school = school;
		IDnumber = iDnumber;
		EnrolmentTime = enrolmentTime;
		GraduationTime = graduationTime;
	}

	public Student() {
		super();
	}

	@Override
	public String toString() {
		return name + "\t" + number + "\t" + sex + "\t" + school + "\t"
				+ EnrolmentTime + "\t" + GraduationTime;
	}

	public String getNumber() {
		return number;
	}

	public String getName() {
		return name;
	}

	public Sex getSex() {
		return sex;
	}

	public String getSchool() {
		return school;
	}

	public String getIDnumber() {
		return IDnumber;
	}

	public String getEnrolmentTime() {
		return EnrolmentTime;
	}

	public String getGraduationTime() {
		return GraduationTime;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setSex(Sex sex) {
		this.sex = sex;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public void setIDnumber(String iDnumber) {
		IDnumber = iDnumber;
	}

	public void setEnrolmentTime(String enrolmentTime) {
		EnrolmentTime = enrolmentTime;
	}

	public void setGraduationTime(String graduationTime) {
		GraduationTime = graduationTime;
	}
}
